package lab02.test35;

/**
 * Created by V555 on 2017/11/18.
 */
public class Application {
    public static void main(String[] args) {
        Manager manager=new Manager();
        manager.regularPay=5000;
        System.out.println("经理工资："+manager.computeSalary());
        Salesman salesman=new Salesman();
        salesman.regularPay=2000;
        salesman.salesCommissions=900;
        System.out.println("销售人员工资："+salesman.computeSalary());
        Worker worker=new Worker();
        worker.day=30;
        worker.regularPay=80;
        System.out.println("一般工人工资："+worker.computeSalary());


    }
}
